package cn.rongdao.jrkabao.ui.cashadvance.adapter;

import android.content.Context;
import android.view.ViewGroup;

import com.mifengkong.frtools.ui.adapter.recyclerview.FRBaseRecyclerAdapter;
import com.mifengkong.frtools.inputmethod.FRView;

import cn.rongdao.jrkabao.R;
import cn.rongdao.jrkabao.bean.cashadvance.TransactionRecordBean;

/**
 * Created by jack on 2017/6/2
 */

public class TransactionRecordAdapter extends FRBaseRecyclerAdapter<TransactionRecordBean.TradeBean, TransactionRecordViewHolder> {

    public TransactionRecordAdapter(Context context) {
        super(context);
    }

    @Override
    public TransactionRecordViewHolder onCreateViewHolder(ViewGroup parent, int viewType) {
        return new TransactionRecordViewHolder(FRView.inflateLayout(getContext(), R.layout.item_transaction_record, parent, false));
    }
}
